package com.ruoyi.project.channel.vwBusinessCashDayStat.mapper;

import com.ruoyi.project.channel.vwBusinessCashDayStat.domain.VwBusinessCashDayStat;
import java.util.List;	

/**
 * VIEW 数据层
 * 
 * @author zero
 * @date 2019-05-06
 */
public interface VwBusinessCashDayStatMapper 
{
	/**
     * 查询VIEW信息
     * 
     * @param businessId VIEWID
     * @return VIEW信息
     */
	public VwBusinessCashDayStat selectVwBusinessCashDayStatById(Long businessId);
	
	/**
     * 查询VIEW列表
     * 
     * @param vwBusinessCashDayStat VIEW信息
     * @return VIEW集合
     */
	public List<VwBusinessCashDayStat> selectVwBusinessCashDayStatList(VwBusinessCashDayStat vwBusinessCashDayStat);
	
	/**
     * 新增VIEW
     * 
     * @param vwBusinessCashDayStat VIEW信息
     * @return 结果
     */
	public int insertVwBusinessCashDayStat(VwBusinessCashDayStat vwBusinessCashDayStat);
	
	/**
     * 修改VIEW
     * 
     * @param vwBusinessCashDayStat VIEW信息
     * @return 结果
     */
	public int updateVwBusinessCashDayStat(VwBusinessCashDayStat vwBusinessCashDayStat);
	
	/**
     * 删除VIEW
     * 
     * @param businessId VIEWID
     * @return 结果
     */
	public int deleteVwBusinessCashDayStatById(Long businessId);
	
	/**
     * 批量删除VIEW
     * 
     * @param businessIds 需要删除的数据ID
     * @return 结果
     */
	public int deleteVwBusinessCashDayStatByIds(String[] businessIds);

	/**
	 * 查询业务员数据
	 * @param vwBusinessCashDayStat
	 * @return
	 */
	public List<VwBusinessCashDayStat> selectVwSalesmanCashDayStatList(VwBusinessCashDayStat vwBusinessCashDayStat);

	/**
	 * 查询业务员日数据
	 * @param vwBusinessCashDayStat
	 * @return
	 */
	public List<VwBusinessCashDayStat> selectVwSalesmanBusinessCashDayStatList(VwBusinessCashDayStat vwBusinessCashDayStat);

	/**
	 * 根据时间统计入金出金
	 * @param vwBusinessCashDayStat
	 * @return
	 */
	public List<VwBusinessCashDayStat> selectVwSalesmanTotalStatList(VwBusinessCashDayStat vwBusinessCashDayStat);

	/**
	 * 近一个月统计
	 * @param vwBusinessCashDayStat
	 * @return
	 */
	public List<VwBusinessCashDayStat> selectVwSalesmanBusinessCashMonthStatList(VwBusinessCashDayStat vwBusinessCashDayStat);
	public List<VwBusinessCashDayStat> selectVwSalesmanBusinessCashSyncList(VwBusinessCashDayStat vwBusinessCashDayStat);

}